package com.alliky.user.mvp.contract;

import com.alliky.core.entity.vo.GoodsVO;
import com.alliky.core.base.IView;
import com.alliky.core.base.IModel;

import java.util.HashMap;
import java.util.List;

import io.reactivex.Observable;

public interface MyContract {
    interface View extends IView {
        void setPageNum(int pageNum);

        void showRecommendGoods(List<GoodsVO> goodsVOS, boolean isRefresh);
    }

    interface Model extends IModel {
        Observable getRecommendGoods(HashMap hashMap);
    }

    interface Presenter {
        void getRecommendGoods(HashMap hashMap,boolean isRefresh);
    }
}
